![]() |
PATH![]() |
![]() ![]() |
Returns whether the user clicked upon the specified scroll bar's arrows.
pascal Boolean HitTestThemeScrollBarArrows (
const Rect *scrollBarBounds,
ThemeTrackEnableState enableState,
ThemeTrackPressState pressState,
Boolean isHoriz,
Point ptHit,
Rect *trackBounds,
ControlPartCode *partcode);
Your application may use the HitTestThemeScrollBarArrows function to test whether a given mouse-down event occurred on a scroll bar's arrows. If not, you may then use the rectangle produced in the trackBounds parameter of HitTestThemeScrollBarArrows as the bounds of the track for the function HitTestThemeTrack , in order to determine whether the mouse-down event occurred in the track part of the scroll bar.